<template>
    <view>

        <u-switch v-model="show" @change="change"></u-switch>

        <u-popup :custom-style="{
            backgroundColor: '#a0cfff',
            color: '#2979ff'
        }" v-model="show" mode="bottom" border-radius="14" :closeable="true">
            <text> {{ show ? 'hide' : 'open' }} </text>
            <u-switch v-model="show" @change="change"></u-switch>
        </u-popup>
    </view>
</template>

<script>

export default {
    data() {
        return {
            show: true,
        };
    },
    methods: {
        change(s) {
        }
    },
    mounted() {
    },
};
</script>